package com.hzlj.position.locate.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fz.common.base.core.JacksonTypeHandlerIgnoreNull;
import com.hzlj.position.config.common.dto.common.PositionHandleExtDTO;
import com.hzlj.position.locate.common.dto.reportAudio.ReportAudioExtDTO;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/**
 * 通信联络核查-音频核验(ReportAudio)实体类
 *
 * @author makejava
 * @since 2024-08-06 17:39:30
 */
@Data
@ToString
@TableName(value="report_audio",autoResultMap = true)
public class ReportAudio {
    /**
    * 主键
    */
    @TableId(type = IdType.INPUT,value = "id")
    private String id;
    /**
    * 所属天
    */
    @TableField(value = "belong_day")
    private Date belongDay;
    /**
    * 矫正人ID(jz_jbxx)
    */
    @TableField(value = "jz_id")
    private String jzId;
    /**
    * 电话号码
    */
    @TableField(value = "sjh")
    private String sjh;
    /**
    * 语音汇报类型,dict-REPORT_AUDIO_TYPE
    */
    @TableField(value = "report_audio_type")
    private String reportAudioType;
    /**
    * 上报状态,dict-REPORT_AUDIO_STATUS
    */
    @TableField(value = "report_status")
    private String reportStatus;
    /**
    * 签到内容
    */
    @TableField(value = "report_content")
    private String reportContent;
    /**
    * 上报时间
    */
    @TableField(value = "report_time")
    private Date reportTime;
    /**
    * 上报地址
    */
    @TableField(value = "report_address")
    private String reportAddress;
    /**
    * 纬度
    */
    @TableField(value = "latitude")
    private String latitude;
    /**
    * 经度
    */
    @TableField(value = "longitude")
    private String longitude;
    /**
    * 上报的现场图片
    */
    @TableField(value = "file_ids")
    private String fileIds;
    /**
    * 是否越界
    */
    @TableField(value = "cross_border")
    private Boolean crossBorder;
    /**
    * 时长(单位毫秒)
    */
    @TableField(value = "audio_duration")
    private Integer audioDuration;
    /**
    * 语音转换内容
    */
    @TableField(value = "audio_text")
    private String audioText;
    /**
    * 声纹核验状态,dict-REPORT_AUDIO_VOICE_PRINT_MATCH
    */
    @TableField(value = "voiceprint_match")
    private String voiceprintMatch;
    /**
    * 额外参数,json-ReportAudioExtDTO
    */
    @TableField(value = "ext",typeHandler = JacksonTypeHandlerIgnoreNull.class)
    private ReportAudioExtDTO ext;
    /**
    * 是否已读
    */
    @TableField(value = "read", keepGlobalFormat = true)
    private Boolean read;
    /**
    * 已读时间
    */
    @TableField(value = "read_time")
    private Date readTime;
    /**
    * 查看人
    */
    @TableField(value = "read_uid")
    private String readUid;
    /**
    * 查看人姓名
    */
    @TableField(value = "read_name")
    private String readName;
    /**
    * 异常处理声纹核验状态,dict-REPORT_AUDIO_HANDLE_VOICE_PRINT_MATCH
    */
    @TableField(value = "handle_voiceprint_match")
    private String handleVoiceprintMatch;
    /**
    * 是否已经处理,dict-HANDLE_STATUS
    */
    @TableField(value = "handle_status")
    private String handleStatus;
    /**
    * 异常处理时间,当前更新时间
    */
    @TableField(value = "handle_time")
    private Date handleTime;
    /**
    * 异常处理数据,json-PositionHandleExtDTO
    */
    @TableField(value = "handle_ext",typeHandler = JacksonTypeHandlerIgnoreNull.class)
    private PositionHandleExtDTO handleExt;
    /**
    * 异常处理上报状态,dict-REPORT_AUDIO_HANDLE_STATUS
    */
    @TableField(value = "handle_report_status")
    private String handleReportStatus;
    /**
    * 是否有效
    */
    @TableField(value = "valid")
    private Boolean valid;
    /**
    * 更新时间
    */
    @TableField(value = "update_time")
    private Date updateTime;
    /**
    * 更新人
    */
    @TableField(value = "updater_uid")
    private String updaterUid;
    /**
    * 更新人姓名
    */
    @TableField(value = "updater_name")
    private String updaterName;
    /**
    * 创建时间
    */
    @TableField(value = "create_time")
    private Date createTime;
    /**
    * 创建人
    */
    @TableField(value = "creator_uid")
    private String creatorUid;
    /**
    * 更新人姓名
    */
    @TableField(value = "creator_name")
    private String creatorName;
}
